<?php
/*--------------------------
	file:	array.lib
	intro:	数组底层库函数
--------------------------*/

function arr2str($array, $type='0'){
	if($type=='0'){
		return serialize($array);
	}elseif($type=='1'){
		return join(',', $array);
	}
}
?>